﻿using MengCC.Core.Data;
using System;
using System.Collections.Generic;
using System.Text;

namespace MengCC.Core.Projects
{
    public class Project : BaseEntity
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 项目编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 仓库插件集
        /// </summary>
        public List<PluginInfo> RepositoryPlugins { get; set; }
        /// <summary>
        /// 构建插件集
        /// </summary>
        public List<PluginInfo>BuildPlugins { get; set; }
        /// <summary>
        /// 构建后插件集
        /// </summary>
        public List<PluginInfo> BuildedPlugins { get; set; }
        /// <summary>
        /// 是否远程构建
        /// </summary>
        public bool IsBuildRemote { get; set; }
        /// <summary>
        /// 远程构建token
        /// </summary>
        public string RemoteToken { get; set; }
        /// <summary>
        /// 是否构建后清理
        /// </summary>
        public bool IsClearBeforeBuilding { get; set; }
    }
}
